package top.suven.base.http.admin.sec.service;

import top.suven.base.core.mybatis.PageData;
import top.suven.base.http.admin.sec.model.RoleMenu;
import top.suven.base.http.admin.sec.vo.response.RoleMenuResponseVo;

import java.util.List;

/**
 * @Title: RoleMenuService.java
 * @Description: 角色菜单权限的业务处理服务类
 * @author lixiangling
 * @date   2018/08/13 16:59:19
 * @version  V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
public interface RoleMenuService {
    /**
     * @Title: 获取角色菜单权限分页信息
     * @Description:
     * @param roleMenu @{Link RoleMenu}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 16:59:19
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public PageData<RoleMenuResponseVo> getRoleMenuPage(RoleMenu roleMenu, int start, int pageSize);
    /**
     * @Title: 获取角色菜单权限列表信息
     * @Description:
     * @param roleCodeList @{Link List}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 16:59:19
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    List<RoleMenu> getRoleMenuByRoleCodeList(List<String> roleCodeList);
   /**
    * @Title: 获取角色菜单权限列表信息
    * @Description:
    * @param roleMenu @{Link RoleMenu}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 16:59:19
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public List<RoleMenu> getRoleMenuList(RoleMenu roleMenu);
    /**
     * @Title: 新增角色菜单权限信息
     * @Description:
     * @param roleMenu @{Link RoleMenu}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 16:59:19
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void addRoleMenu(RoleMenu roleMenu);
    /**
    * @Title: 修改角色菜单权限信息
    * @Description:
    * @param roleMenu @{Link RoleMenu}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 16:59:19
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void updRoleMenu(RoleMenu roleMenu);
   /**
    * @Title: 获取角色菜单权限信息
    * @Description:
    * @param id @{Link Long}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 16:59:19
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public RoleMenu getRoleMenu(Long id);
    /**
     * @Title: 删除角色菜单权限信息
     * @Description:id @{Link Long[]}
     * @param
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 16:59:19
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void del(Long[] ids);
   /**
    * @Title: 启用角色菜单权限信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 16:59:19
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOn(Long[] ids);
   /**
    * @Title: 禁用角色菜单权限信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 16:59:19
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOff(Long[] ids);
}